package com.parkingspace.controller;

import org.elasticsearch.client.RestHighLevelClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: TestController
 * Package: com.parkingspace.controller
 *
 * @author: guanzepeng
 * @Date: 2021/5/26 11:34 星期三
 * @Description:
 */
@RestController
public class TestController {

	@Autowired
	private RestHighLevelClient client;

	@GetMapping("/test")
	public String test01(){
		return client.toString();
	}
}
